<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<script>
$(document).ready(function(){
	$("input[id='submit_date']").attr("readonly",true);
});
</script>
<script>
function    selectPsnCall(data) {
	$(document).find("input[name$='psn_code']").val(data.person.psnCode);
	$("#fzr_psnname").html(data.personExtend.basic_info.zh_name);
	$("#fzr_mobile").html(data.personExtend.contact.mobile);
	$("#fzr_email").html(data.personExtend.contact.email);
	$("#fzr_tel_work").html(data.personExtend.contact.tel_work);


	
	<security:authorize ifAnyGranted="A_MENU_MANAGE_19">
	$("#depart_code").val(data.person.deptCode);
	</security:authorize>
	
	tb_remove2();
}
</script>

<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo22222"
	cellspacing="1">
	<col style="width:20%"/>
	<col style="width:15%"/>
	<col style="width:15%"/>
	<col style="width:20%"/>
	<col style="width:15%"/>
	<col style="width:15%"/>
	<tr >
		<td   colspan="6" class="t_bar2">科技企业孵化器基本信息表</td>
	</tr>
	<tr >
		<td align="right"><span class="color_red">*</span>孵化器名称：</td>
		<td colspan="5">
		<input id="zh_title"  name="proposal/zh_title" label="孵化器名称" type="text" required class="input_css required"  style="width:87%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr >
		<td align="right">申报单位名称：</td>
		<td colspan="5"><span name="org_info/org_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
		    </span>
		</td>
	</tr>
	
	<tr >
	<td align="right"><span class="color_red">*</span>孵化器类型：</td>
	<td colspan="5">
			<label> <input type="radio" class="do " id="advant_1" style="vertical-align: middle;" name="fhq_type" label="综合型" value="1"  /><span style="vertical-align: middle;">综合型</span></label> 
			<label> <input type="radio" class="do " id="advant_2" style="vertical-align: middle;" name="fhq_type" label="专业型" value="2"  /><span style="vertical-align: middle;">专业型</span></label> 
			<input type="hidden" name="proposal/fhq_type_value" id="fhq_type_value" class="required" value="<x:out select="$xmlData/data/proposal/fhq_type_value" />" label="孵化器类型" /> 
			<input type="hidden" name="proposal/fhq_type_name" id="fhq_type_name" value="<x:out select="$xmlData/data/proposal/fhq_type_name" />"  />
	</td>
	</tr>
	<tr >
	<td align="right"><span class="color_red">*</span>单位性质：</td>
	<td colspan="5">
			<input type="text" name="proposal/unit_property" id="unit_property" label="单位性质"  required class="input_css required"  style="width:87%;" maxlength="100" value="<x:out select="$xmlData/data/proposal/unit_property" />" />
	</td>
	</tr>
	<tr >
	<td align="right">注册时间：</td>
	<td colspan="2">
		<span name="org_info/registe_date">
			<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date"/>
		</span>
	</td>
	<td align="right">法人代表：</td>
	<td  colspan="2">
          <span name="org_info/faren/cname">
					<x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname" />
		    </span>
	</td>
	</tr>
	<tr >
		<td align="right">通讯地址：</td>
		<td colspan="2">
			 <span name="org_info/contact_info/address">
					<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/address" />
			    </span>
		</td>
		<td align="right">邮政编码：</td>
		<td colspan="2">
			 <span name="org_info/contact_info/zip_code"> 
				    <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/zip_code" /> 
			   </span>
		</td>
	</tr>
	<tr>
		<td align="right">归口管理部门：</td>
		<td colspan="2">
			 <span name="proposal/tjdw_name"> 
				    <x:out select="$xmlData/data/proposal/tjbm_org_name" /> 
			   </span>
		</td>
		<td align="right"><span class="color_red">*</span>申报日期：</td>
			<td colspan="2">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className="gray readonly required date beforeToday" label="申报日期" ></cpt:date> 
		</td>
	</tr>
	</table>
	<br/>
	<jsp:include page="../psn/public/prpInfoEdit_lxr_common.jsp"></jsp:include>
	<br/>
	<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo3333" cellspacing="1">
		<col style="width:20%"/>
		<col style="width:15%"/>
		<col style="width:20%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
	<tr >
		<td   colspan="6" class="t_bar2">孵化器详细信息</td>
	</tr>
		<tr >
			<td align="right"><span class="color_red">*</span>管理人员数量（人）：</td>
			<td >
					<input name="org_info/content/count_all" id="count_all" style="text-align: right;width:80%"  onfocus="InitInput.setNumber(this,7,0,0)" class="required" onchange="chu('count_all','degree_college_no','degree_per')" label="管理人员数量" value="<x:out select="$xmlData/data/org_info/content/count_all" />" />
			</td>
			<td align="right"><span class="color_red">*</span>管理人员中具有大专以上学历的数量（人）：</td>
			<td >
					<input name="org_info/content/degree_college_no" id="degree_college_no" style="text-align: right;width:80%" onchange="chu('count_all','degree_college_no','degree_per')" class="required valueGreatEqual:count_all:degree_college_no" onfocus="InitInput.setNumber(this,7,0,0)" label="管理人员中具有大专以上学历的数量" value="<x:out select="$xmlData/data/org_info/content/degree_college_no" />" />
			</td>
			<td align="right">管理人员中具有大专以上学历的比例：</td>
			<td ><input type="text" class="gray" id="degree_per" name="org_info/content/degree_per" style="text-align: right;width:80%" disabled="disabled"  /></td>
		</tr>
		<tr >
			<td align="right"><span class="color_red">*</span>可自主支配孵化场地使用面积（万平方米）：</td>
			<td >
				<input name="org_info/content/overall_floorage" id="overall_floorage" style="text-align: right;width:80%" class="required" onchange="chu('overall_floorage','overall_floorage_rf','field_per')" onfocus="InitInput.setNumber(this,7,2,2)" label="可自主支配孵化场地使用面积" value="<x:out select="$xmlData/data/org_info/content/overall_floorage"/>" />
			</td>
			<td align="right"><span class="color_red">*</span>在孵企业使用场地（含公共服务场地）面积（万平方米）：</td>
			<td >
				<input name="org_info/content/overall_floorage_rf" id="overall_floorage_rf" style="text-align: right;width:80%" class="required valueGreatEqual:overall_floorage:overall_floorage_rf" onchange="chu('overall_floorage','overall_floorage_rf','field_per')" onfocus="InitInput.setNumber(this,7,2,2)" label="在孵企业使用场地（含公共服务场地）面积" value="<x:out select="$xmlData/data/org_info/content/overall_floorage_rf"/>" />
			</td>
			<td align="right">在孵企业使用的场地（含公共服务场地）占比：</td>
					<td><input type="text" id="field_per"  name="org_info/content/field_per" class="gray" style="text-align: right;width:80%" disabled="disabled" /></td>
		
		</tr>
		<tr >
		<td align="right"><span class="color_red">*</span>可自主支配场地内的在孵企业数量（家）：</td>
		<td >
			<input name="org_info/content/government_count" id="government_count" class="required" style="text-align: right;width:80%" onchange="chu('government_count','all_fund','apply_per')" onfocus="InitInput.setNumber(this,7,0,0)" label="可自主支配场地内的在孵企业数量" value="<x:out select="$xmlData/data/org_info/content/government_count"/>" />
		</td>
		<td align="right"><span class="color_red">*</span>已申请专利的在孵企业数量（家）：</td>
		<td >
			<input name="org_info/content/all_fund" id="all_fund" class="required" style="text-align: right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" onchange="chu('government_count','all_fund','apply_per')" label="已申请专利的在孵企业数量" value="<x:out select="$xmlData/data/org_info/content/all_fund"/>" />
		</td>
		<td align="right">已申请专利的在孵企业占比：</td>
				<td><input type="text" id="apply_per" name="org_info/content/apply_per" class="gray" disabled="disabled" style="text-align: right;width:80%" /></td>
		</tr>
		<tr >
			<td align="right"><span class="color_red">*</span>累计毕业企业数（家）：</td>
			<td >
				<input name="org_info/content/finish_business" id="finish_business" style="text-align: right;width:80%" class="required"   onfocus="InitInput.setNumber(this,7,0,0)" label="累计毕业企业数" value="<x:out select="$xmlData/data/org_info/content/finish_business"/>" />
			</td>
			<td align="right"><span class="color_red">*</span>毕业企业和在孵企业提供的就业岗位数量（个）：</td>
			<td >
				<input name="org_info/content/last_finish_business" id="last_finish_business" style="text-align: right;width:80%" class="required"  onfocus="InitInput.setNumber(this,7,0,0)" label="毕业企业和在孵企业提供的就业岗位数量" value="<x:out select="$xmlData/data/org_info/content/last_finish_business"/>" />
			</td>
			<td align="right"><span class="color_red">*</span>在孵企业中的大专以上学历人数占企业总人数的比例（%）：</td>
					<td><input type="text" id="count_per" name="org_info/content/count_per"   onfocus="InitInput.setNumber(this,3,2,2)"  class="required" label="在孵企业中的大专以上学历人数占企业总人数的比例" style="text-align: right;width:80%" value="<x:out select="$xmlData/data/org_info/content/count_per"/>"/> </td>					
		</tr>
		<tr >
			<td align="right"><span class="color_red">*</span>孵化器自有种子资金或孵化资金额（万元）：</td>
			<td>
				<input name="org_info/content/government_fund" id="government_fund" style="text-align: right;width:80%" class="required" onfocus="InitInput.setNumber(this,7,2,2)" label="孵化器自有种子资金或孵化资金额" value="<x:out select="$xmlData/data/org_info/content/government_fund"/>" />
			</td>
			<td align="right"><span class="color_red">*</span>接受孵化器专业培训人员的比例（%）：</td>
			
		 	<td ><input type="text" id ="government_fund_per" name="org_info/content/government_fund_per" onfocus="InitInput.setNumber(this,3,2,2)"   class="required" label="接受孵化器专业培训人员的比例" style="text-align: right;width:80%" value="<x:out select="$xmlData/data/org_info/content/government_fund_per"/>"/></td>
		 	<td colspan="2"></td>
		</tr>
</table>
<script>
$(function(){
	chu('count_all','degree_college_no','degree_per');
	chu('overall_floorage','overall_floorage_rf','field_per');
	chu('government_count','all_fund','apply_per');
});

function chu(id1,id2,id3){
	var zhi1=$("#"+id1).val();
	if(zhi1!=""){
		zhi1=eval(zhi1);
	}
	var zhi2=$("#"+id2).val();
	if(zhi1!="0"&&zhi1!=""&&zhi2!=""){	
		var zhi3=(parseFloat(zhi2)/parseFloat(zhi1))*100;
		zhi3=formatNumberAuto(zhi3.toString(), 3, 2, 2);
		$("#"+id3).val(parseFloat(zhi3)+"%");
	}else{
		$("#"+id3).val("");
	}
}
	$("#basicInfo22222 tr:even").addClass("li_1");
	$("#basicInfo3333 tr:even").addClass("li_2");
	$("#basicInfo4444 tr:even").addClass("li_1");
	$("#basicInfo22222 tr:odd").addClass("li_2");
	$("#basicInfo3333 tr:odd").addClass("li_1");
	$("#basicInfo4444 tr:odd").addClass("li_2");
</script>